博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
kindeditor 代码高亮设置
阅读量:4613 次
发布时间:2019-06-09

本文共 487 字,大约阅读时间需要 1 分钟。

个人博客 ,没有代码高亮还是不行。 

    var options = {
cssPath: ['/static/kindeditor/plugins/code/prettify.css',],

 

再设置一下css :

pre.prettyprint {
border: 0; border-left: 3px solid rgb(204, 204, 204); margin-left: 2em; padding: 0.5em; display: block; margin: 1em 0px; white-space: pre; word-break:break-all; word-wrap: break-word; word-break: normal; }

 

 

 

 

 

 

转载于:https://www.cnblogs.com/yeelone/archive/2013/01/10/2854895.html

你可能感兴趣的文章
CF277D Google Code Jam
查看>>
Redis相关面试题
查看>>
LeetCode 1101. The Earliest Moment When Everyone Become Friends
查看>>
LeetCode 1135. Connecting Cities With Minimum Cost
查看>>
LeetCode 1102. Path With Maximum Minimum Value
查看>>
LeetCode 1061. Lexicographically Smallest Equivalent String
查看>>
LeetCode 841. Keys and Rooms
查看>>
LeetCode 1043. Partition Array for Maximum Sum
查看>>
LeetCode 923. 3Sum With Multiplicity
查看>>
LeetCode 750. Number Of Corner Rectangles
查看>>
LeetCode 983. Minimum Cost For Tickets
查看>>
LeetCode 723. Candy Crush
查看>>
LeetCode 881. Boats to Save People
查看>>
LeetCode 334. Increasing Triplet Subsequence
查看>>
LeetCode 877. Stone Game
查看>>
LeetCode 712. Minimum ASCII Delete Sum for Two Strings
查看>>
LeetCode 931. Minimum Falling Path Sum
查看>>
LeetCode 718. Maximum Length of Repeated Subarray
查看>>
LeetCode 446. Arithmetic Slices II - Subsequence
查看>>
LeetCode 740. Delete and Earn
查看>>